{% extends "PROJECTMYBundle::Layout/layout_admin.html.twig" %}

{% block my_content %}
<div id="login-container">
    <div id="login" class="i-box">
	    <div class="login-title"><h1>Infinity Theme Login</h1></div>
		<form action="{{ path("fos_user_security_check") }}" method="post">
			<fieldset>
			    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
				<section>
			    	<label for="username">{{ 'security.login.username'|trans({}, 'FOSUserBundle') }}</label>
			   		<input class="i-text required" type="text" id="username" name="_username" value="Login" required="required" />
				</section>
				<section>
			    	<label for="password">{{ 'security.login.password'|trans({}, 'FOSUserBundle') }}</label>
			    	<input class="i-text required" type="password" id="password" name="_password" required="required" />
				</section>
				<section>
			    	<input type="checkbox" id="remember_me" name="_remember_me" value="on" />
			   		<label for="remember_me">{{ 'security.login.remember_me'|trans({}, 'FOSUserBundle') }}</label>
				</section>
			    <input type="submit" id="_submit" name="_submit" class="i-button" value="{{ 'security.login.submit'|trans({}, 'FOSUserBundle') }}" />
		  	</fieldset>
		</form>
		{% if error %}
			<span>{{ error|trans({}, 'FOSUserBundle') }}</span>
		{% endif %}
    </div>
</div>
{% endblock my_content %}
